package com.ruoyi.business.mapper;

import com.github.yulichang.base.MPJBaseMapper;
import com.ruoyi.business.domain.FileBorrowingRegistration;

import java.util.List;

/**
 * 借阅登记Mapper接口
 *
 * @author sal
 * @date 2024-11-12
 */
public interface FileBorrowingRegistrationMapper  extends MPJBaseMapper<FileBorrowingRegistration>
{
    /**
     * 查询借阅登记
     *
     * @param id 借阅登记ID
     * @return 借阅登记
     */
    public FileBorrowingRegistration selectFileBorrowingRegistrationById(Long id);

    /**
     * 查询借阅登记列表
     *
     * @param fileBorrowingRegistration 借阅登记
     * @return 借阅登记集合
     */
    public List<FileBorrowingRegistration> selectFileBorrowingRegistrationList(FileBorrowingRegistration fileBorrowingRegistration);

    /**
     * 新增借阅登记
     *
     * @param fileBorrowingRegistration 借阅登记
     * @return 结果
     */
    public int insertFileBorrowingRegistration(FileBorrowingRegistration fileBorrowingRegistration);

    /**
     * 修改借阅登记
     *
     * @param fileBorrowingRegistration 借阅登记
     * @return 结果
     */
    public int updateFileBorrowingRegistration(FileBorrowingRegistration fileBorrowingRegistration);

    /**
     * 删除借阅登记
     *
     * @param id 借阅登记ID
     * @return 结果
     */
    public int deleteFileBorrowingRegistrationById(Long id);

    /**
     * 批量删除借阅登记
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteFileBorrowingRegistrationByIds(Long[] ids);
}
